const Router = require('koa-router')
const { verifyAuth } = require('../middleware/authMiddleware')
const {getChecksList,checkItem} = require('../controller/checkController')
const checkRouter = new Router({prefix:'/checks'})

checkRouter.post('/list',verifyAuth,getChecksList)

checkRouter.patch('/:id',verifyAuth,checkItem)
module.exports = checkRouter